home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Celestin Apprentice 5
/
Apprentice-Release5.iso
/
Source Code
/
C
/
Applications
/
Python 1.3.3
/
Python 133 SRC
/
Mac
/
Modules
/
te
/
tegen.py
next >
Wrap
Text File
|
1996-04-13
|
5KB
|
260 lines
# Generated from 'Sap:CW8 Gold:Metrowerks CodeWarrior:MacOS Support:Headers:Universal Headers:TextEdit.h'
f = Function(Handle, 'TEScrapHandle',
)
functions.append(f)
f = Function(long, 'TEGetScrapLength',
)
functions.append(f)
f = Function(TEHandle, 'TENew',
(Rect_ptr, 'destRect', InMode),
(Rect_ptr, 'viewRect', InMode),
)
functions.append(f)
f = Method(void, 'TESetText',
(InBuffer, 'text', InMode),
(TEHandle, 'hTE', InMode),
)
methods.append(f)
f = Method(CharsHandle, 'TEGetText',
(TEHandle, 'hTE', InMode),
)
methods.append(f)
f = Method(void, 'TEIdle',
(TEHandle, 'hTE', InMode),
)
methods.append(f)
f = Method(void, 'TESetSelect',
(long, 'selStart', InMode),
(long, 'selEnd', InMode),
(TEHandle, 'hTE', InMode),
)
methods.append(f)
f = Method(void, 'TEActivate',
(TEHandle, 'hTE', InMode),
)
methods.append(f)
f = Method(void, 'TEDeactivate',
(TEHandle, 'hTE', InMode),
)
methods.append(f)
f = Method(void, 'TEKey',
(short, 'key', InMode),
(TEHandle, 'hTE', InMode),
)
methods.append(f)
f = Method(void, 'TECut',
(TEHandle, 'hTE', InMode),
)
methods.append(f)
f = Method(void, 'TECopy',
(TEHandle, 'hTE', InMode),
)
methods.append(f)
f = Method(void, 'TEPaste',
(TEHandle, 'hTE', InMode),
)
methods.append(f)
f = Method(void, 'TEDelete',
(TEHandle, 'hTE', InMode),
)
methods.append(f)
f = Method(void, 'TEInsert',
(InBuffer, 'text', InMode),
(TEHandle, 'hTE', InMode),
)
methods.append(f)
f = Method(void, 'TESetAlignment',
(short, 'just', InMode),
(TEHandle, 'hTE', InMode),
)
methods.append(f)
f = Method(void, 'TEUpdate',
(Rect_ptr, 'rUpdate', InMode),
(TEHandle, 'hTE', InMode),
)
methods.append(f)
f = Function(void, 'TETextBox',
(InBuffer, 'text', InMode),
(Rect_ptr, 'box', InMode),
(short, 'just', InMode),
)
functions.append(f)
f = Method(void, 'TEScroll',
(short, 'dh', InMode),
(short, 'dv', InMode),
(TEHandle, 'hTE', InMode),
)
methods.append(f)
f = Method(void, 'TESelView',
(TEHandle, 'hTE', InMode),
)
methods.append(f)
f = Method(void, 'TEPinScroll',
(short, 'dh', InMode),
(short, 'dv', InMode),
(TEHandle, 'hTE', InMode),
)
methods.append(f)
f = Method(void, 'TEAutoView',
(Boolean, 'fAuto', InMode),
(TEHandle, 'hTE', InMode),
)
methods.append(f)
f = Method(void, 'TECalText',
(TEHandle, 'hTE', InMode),
)
methods.append(f)
f = Method(short, 'TEGetOffset',
(Point, 'pt', InMode),
(TEHandle, 'hTE', InMode),
)
methods.append(f)
f = Method(Point, 'TEGetPoint',
(short, 'offset', InMode),
(TEHandle, 'hTE', InMode),
)
methods.append(f)
f = Method(void, 'TEClick',
(Point, 'pt', InMode),
(Boolean, 'fExtend', InMode),
(TEHandle, 'h', InMode),
)
methods.append(f)
f = Function(TEHandle, 'TEStyleNew',
(Rect_ptr, 'destRect', InMode),
(Rect_ptr, 'viewRect', InMode),
)
functions.append(f)
f = Method(void, 'TESetStyleHandle',
(TEStyleHandle, 'theHandle', InMode),
(TEHandle, 'hTE', InMode),
)
methods.append(f)
f = Method(TEStyleHandle, 'TEGetStyleHandle',
(TEHandle, 'hTE', InMode),
)
methods.append(f)
f = Method(void, 'TEGetStyle',
(short, 'offset', InMode),
(TextStyle, 'theStyle', OutMode),
(short, 'lineHeight', OutMode),
(short, 'fontAscent', OutMode),
(TEHandle, 'hTE', InMode),
)
methods.append(f)
f = Method(void, 'TEStylePaste',
(TEHandle, 'hTE', InMode),
)
methods.append(f)
f = Method(void, 'TESetStyle',
(short, 'mode', InMode),
(TextStyle_ptr, 'newStyle', InMode),
(Boolean, 'fRedraw', InMode),
(TEHandle, 'hTE', InMode),
)
methods.append(f)
f = Method(void, 'TEReplaceStyle',
(short, 'mode', InMode),
(TextStyle_ptr, 'oldStyle', InMode),
(TextStyle_ptr, 'newStyle', InMode),
(Boolean, 'fRedraw', InMode),
(TEHandle, 'hTE', InMode),
)
methods.append(f)
f = Method(StScrpHandle, 'TEGetStyleScrapHandle',
(TEHandle, 'hTE', InMode),
)
methods.append(f)
f = Method(void, 'TEStyleInsert',
(InBuffer, 'text', InMode),
(StScrpHandle, 'hST', InMode),
(TEHandle, 'hTE', InMode),
)
methods.append(f)
f = Method(long, 'TEGetHeight',
(long, 'endLine', InMode),
(long, 'startLine', InMode),
(TEHandle, 'hTE', InMode),
)
methods.append(f)
f = Method(Boolean, 'TEContinuousStyle',
(short, 'mode', InOutMode),
(TextStyle, 'aStyle', InOutMode),
(TEHandle, 'hTE', InMode),
)
methods.append(f)
f = Method(void, 'TEUseStyleScrap',
(long, 'rangeStart', InMode),
(long, 'rangeEnd', InMode),
(StScrpHandle, 'newStyles', InMode),
(Boolean, 'fRedraw', InMode),
(TEHandle, 'hTE', InMode),
)
methods.append(f)
f = Method(long, 'TENumStyles',
(long, 'rangeStart', InMode),
(long, 'rangeEnd', InMode),
(TEHandle, 'hTE', InMode),
)
methods.append(f)
f = Method(short, 'TEFeatureFlag',
(short, 'feature', InMode),
(short, 'action', InMode),
(TEHandle, 'hTE', InMode),
)
methods.append(f)
f = Function(void, 'TESetScrapLength',
(long, 'length', InMode),
)
functions.append(f)
f = Function(OSErr, 'TEFromScrap',
)
functions.append(f)
f = Function(OSErr, 'TEToScrap',
)
functions.append(f)